package com.yhq.dao;

import com.yhq.vo.TableVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author yanghongquan
 * @email 842592135@qq.com
 * @date 2018/11/2 17:35
 */
public interface SysGeneratorDao {
	
	List<TableVo> queryList(@Param("tableY") Map<String, Object> map);
	
	int queryTotal(@Param("tableY") Map<String, Object> map);
	
	Map<String, String> queryTable(String tableName);
	
	List<Map<String, String>> queryColumns(String tableName);

	String getPK(String tableName);
}
